package com.itmk.web.user_menu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itmk.web.user_menu.entity.UserMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 山顶洞人郑某
 * @className UserMenuMapper.java
 * @date 2023 12 06
 */
@Mapper
public interface UserMenuMapper  extends BaseMapper<UserMenu> {
    boolean saveMenu(@Param("userId") Long userId, @Param("menuIds")List<Long> menuIds);
}
